package com.ruoyi.storage.domain;

import java.math.BigDecimal;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存查询对象 warehouse_inventory
 * 
 * @author 庞一恺
 * @date 2025-01-11
 */
public class WarehouseInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存id */
    private String batchId;

    /** 仓库id */
    private Integer warehouseId;

    /** 库区id */
    @Excel(name = "库区id")
    private Integer zoneId;

    /** 种类id */
    @Excel(name = "种类id")
    private String rawProductId;

    /** 库存名称 */
    @Excel(name = "库存名称")
    private String inventoryName;

    /** 库存数量（件） */
    @Excel(name = "库存数量", readConverterExp = "件=")
    private Long inventoryNum;

    /** 总重量 */
    @Excel(name = "总重量")
    private Long weight;

    /** 重量单位 */
    @Excel(name = "重量单位")
    private String weightUnit;

    /** 总体积 */
    @Excel(name = "总体积")
    private BigDecimal volume;

    /** 体积单位 */
    @Excel(name = "体积单位")
    private String volumeUnit;

    /** 库存类型 */
    @Excel(name = "库存类型")
    private String inventoryType;

    /** 物品规格 */
    @Excel(name = "物品规格")
    private String goodSpecification;

    /** 物品规格 */
    @Excel(name = "货源地")
    private String origin;

    /** 凭据单号 */
    @Excel(name = "凭据单号")
    private String evidenceRecordId;

    /** 库存详情信息 */
    private List<ItemDetail> itemDetailList;

    public void setBatchId(String batchId) 
    {
        this.batchId = batchId;
    }

    public String getBatchId() 
    {
        return batchId;
    }
    public void setWarehouseId(Integer warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Integer getWarehouseId() 
    {
        return warehouseId;
    }
    public void setZoneId(Integer zoneId) 
    {
        this.zoneId = zoneId;
    }

    public Integer getZoneId() 
    {
        return zoneId;
    }
    public void setRawProductId(String rawProductId) 
    {
        this.rawProductId = rawProductId;
    }

    public String getRawProductId() 
    {
        return rawProductId;
    }
    public void setInventoryName(String inventoryName) 
    {
        this.inventoryName = inventoryName;
    }

    public String getInventoryName() 
    {
        return inventoryName;
    }
    public void setInventoryNum(Long inventoryNum) 
    {
        this.inventoryNum = inventoryNum;
    }

    public Long getInventoryNum() 
    {
        return inventoryNum;
    }
    public void setWeight(Long weight)
    {
        this.weight = weight;
    }

    public Long getWeight()
    {
        return weight;
    }
    public void setInventoryType(String inventoryType) 
    {
        this.inventoryType = inventoryType;
    }

    public String getInventoryType() 
    {
        return inventoryType;
    }
    public void setGoodSpecification(String goodSpecification) 
    {
        this.goodSpecification = goodSpecification;
    }

    public String getGoodSpecification() 
    {
        return goodSpecification;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public List<ItemDetail> getItemDetailList()
    {
        return itemDetailList;
    }

    public void setItemDetailList(List<ItemDetail> itemDetailList)
    {
        this.itemDetailList = itemDetailList;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("batchId", getBatchId())
            .append("warehouseId", getWarehouseId())
            .append("zoneId", getZoneId())
            .append("rawProductId", getRawProductId())
            .append("inventoryName", getInventoryName())
            .append("inventoryNum", getInventoryNum())
            .append("weight", getWeight())
                .append("weightUnit", getWeightUnit())
                .append("volume", getVolume())
                .append("volumeUnit", getVolumeUnit())
            .append("inventoryType", getInventoryType())
            .append("goodSpecification", getGoodSpecification())
            .append("itemDetailList", getItemDetailList())
            .append("origin", getOrigin())
                .append("evidenceRecordId", getEvidenceRecordId())
            .toString();
    }


    public String getWeightUnit() {
        return weightUnit;
    }

    public void setWeightUnit(String weightUnit) {
        this.weightUnit = weightUnit;
    }

    public BigDecimal getVolume() {
        return volume;
    }

    public void setVolume(BigDecimal volume) {
        this.volume = volume;
    }

    public String getVolumeUnit() {
        return volumeUnit;
    }

    public void setVolumeUnit(String volumeUnit) {
        this.volumeUnit = volumeUnit;
    }

    public String getEvidenceRecordId() {
        return evidenceRecordId;
    }

    public void setEvidenceRecordId(String evidenceRecordId) {
        this.evidenceRecordId = evidenceRecordId;
    }
}
